package com.pxxy.yuyi.dao;

import com.pxxy.yuyi.entity.Admin;

import java.util.List;

/**
 * Created by IntelliJ IDEA
 *
 * @Author : XuWen
 * @create 2021/6/21 11:08
 */
public interface AdminDao {
    List<Admin> selectAll();

    Integer deleteAdmin(Integer id);

    Integer addAdmin(Admin admin);

    Integer updateAdmin(Admin admin);

    Admin selectLogin(String name);
}
